#include "../fem/Vector.h"


#include "gtest/gtest.h"

TEST(VectorTest, construction)
{
	Vector3 v1 = Vector3();
	EXPECT_EQ(0.0, v1(0));
	EXPECT_EQ(0.0, v1(1));
	EXPECT_EQ(0.0, v1(2));

	Vector3 v2 = Vector3(1,2,3);
	EXPECT_EQ(1.0, v2(0));
	EXPECT_EQ(2.0, v2(1));
	EXPECT_EQ(3.0, v2(2));
}

